package cn.tedu.hongpei.pojo.Dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author coinyang
 * @date 2023/3/27 17:24
 */
@Data
public class UserUpdateDTO {
    @NotNull(message = "更新失败,名字不能为空")
    private String userName;
    @NotNull(message = "更新失败,昵称不能为空")
    private String nickName;
    @NotNull(message = "更新失败,密码不能为空")
    private String password;

}
